package priv.lhy.securitydemo.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import priv.lhy.securitydemo.entity.Users;

/**
 * @author: lihy
 * date: 2019/10/5 9:55
 * description:
 */
@Mapper
public interface UserDAO {

    int insertUser(@Param("user") Users user);

    Users getUser(@Param("username") String username);
}
